<#include "/common/head.ftl">

<@showTitle title="${i18n.getMessage('student')} > ${i18n.getMessage('history')}">
	<a href="#" onclick="cc('student/showInfoStudent.sgt?id=${student.id}')">${i18n.getMessage('student')}</a>
</@showTitle>

<br/>

<b style="margin-left:2px">${i18n.getMessage('offerings')} >
	<#if nextLevel??>
		${i18n.getMessage('nextOffering')}: ${(nextLevel.name)!}
	</#if>
</b>
<@display.table id="listTable" name="student.offeringReceipts">
	<@display.column title="${i18n.getMessage('index')}" href="#" style="text-align:center;width:30px"><a href="cc(''showInfoOffering.sgt?id=${(listTable.offering.id)!})">${listTable_rowNum!}</a></@display.column>
	<@display.column title="${i18n.getMessage('offering')}"><a href="#" onclick="cc('offering/showInfoOffering.sgt?id=${(listTable.offering.id)!}')">${(listTable.offering.name)!}</a></@display.column>
	<@display.column title="${i18n.getMessage('room')}"><a href="#" onclick="cc('materialFacilities/showInfoRoom.sgt?id=${(listTable.offering.room.id)!}')">${(listTable.offering.room.code)!}</a></@display.column>
	<@display.column title="${i18n.getMessage('total')} ${i18n.getMessage('score')}" style="text-align:center">${(listTable.member.gradeHistory)!}</@display.column>
	<@display.column title="${i18n.getMessage('startDate')}" style="text-align:center">${(listTable.offering.startDate?date)!}</@display.column>
	<@display.column title="${i18n.getMessage('endDate')}" style="text-align:center">${(listTable.offering.endDate?date)!}</@display.column>
	<@display.column title="${i18n.getMessage('receipt')}"><a href="#" onclick="cc('receipt/showInfoOfferingReceipt.sgt?id=${listTable.id}')">${(listTable.number)!}</a></@display.column>
	<@display.column title="${i18n.getMessage('comment')}">${(listTable.receiptComment)!}</@display.column>
</@display.table>

<br/>

<br/>
